$nums=@(4)


$nums += 1
$nums += 2
$nums += 3

Write-Host $nums

foreach ($item in $nums) {
    Write-Host $item   
}

# 拼接
$nums -join ";"
$nums -join ""